﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Area
{
    class Circle: Shape
    {
        protected double r { get; set; }

        public Circle(double r){
            this.r = r;
        }
        public override void GetArea(){
            Console.WriteLine(color);
            Console.WriteLine("圆的面积为：{0}",r*r*3.14);
        }
    }
}
